package com.runvp.common.model.vo.goods;

import com.runvp.common.annotation.Excel;
import com.runvp.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * 商品价格对象 biz_goods_price
 *
 * @author runvp
 * @date 2022-09-18
 */
@ToString
@Getter
@Setter
public class BizGoodsPriceVO extends BaseEntity {

    private static final long serialVersionUID = -899292904348099088L;
    /** ID */
    private Long id;

    /** 租户标识 */
    @Excel(name = "租户标识")
    private Long tenantId;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long goodsId;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 价格标题 */
    @Excel(name = "价格标题")
    private String title;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal price;

    /** 折扣价 */
    @Excel(name = "折扣价")
    private BigDecimal discount;

    /** 成本价 */
    @Excel(name = "成本价")
    private BigDecimal costPrice;

    /** 对应脉冲数 */
    @Excel(name = "对应脉冲数")
    private Long pulseNum;

    /** 锁定时长/秒 */
    @Excel(name = "锁定时长/秒")
    private Long lockTime;

    /** 启用状态 */
    @Excel(name = "启用状态")
    private String status;

}
